﻿@using Vitus.MediaProcessing.Models
@{
    var attachments = Model.Attachments as IEnumerable<MediaProfileAttachmentRecord>;

    foreach (var attachment in attachments)
    {
        // Make sure that the attached image profiles were generated
        Display.MediaUrl(Path: attachment.MediaPath, Profile: attachment.ProfileName);
    }    
}